package com.penghaisoft.microwms.product.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.penghaisoft.microwms.common.data.model.ProSellOut;
import com.penghaisoft.microwms.common.mapper.BaseMapper;
import com.penghaisoft.microwms.common.page.Pager;

/**
 * <p>Mapper</p>
 *  
 *  @author 
 *  @createDate 
 **/
public interface ProSellOutMapper extends BaseMapper<ProSellOut> {

    /**
     * @Title updateBySellOutNo
     * @Description 根据单号 更新
     * @author luoteng
     * @date 2018年6月15日:下午3:29:59
     * @param t
     * @return Integer
     */
    public Integer updateBySellOutNo(@Param("entity") ProSellOut t);
    
    public Integer updateBySelectNew(@Param("entity") ProSellOut t);
	
    public ProSellOut querySumAmount(@Param("entity") ProSellOut t);
    
    public Long countOutWhModelType(@Param("entity") ProSellOut t);

    public List<ProSellOut> listOutWhModelType(@Param("page") Pager<ProSellOut> page, @Param("entity") ProSellOut t);
}